import request from '@/utils/request'
// /my/article/add
// 发布新文章
export const addArticleAPI = obj => {
  return request.post('/my/article/add', obj)
}
// 获取文章的列表数据

// 获取文章列表数据
export const getArticleAPI = params => {
  return request({
    method: 'GET',
    url: '/my/article/list',
    params: params
  })
}
